<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isErrorPage="true"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
	ErrorData ed = pageContext.getErrorData();
	String uri = ed.getRequestURI();
	int code = ed.getStatusCode();
	String servletName = ed.getServletName();
	Throwable throwable = ed.getThrowable();
	out.print("ed.getRequestURI()返回请求的URI =" + uri + "<br/>");
	out.print("ed.getStatusCode()返回错误状态码 =" + code + "<br/>");
	out.print("ed.getServletName()返回请求的servlet名称 =" + servletName + "<br/>");
	out.print("ed.getThrowable()返回引起错误的Throwable类 =" + throwable.getClass().getName() + " <br/>");
	%>
</body>
</html>